package com.sann.demo.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.*;

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode
// 设置表头和添加的数据字段
public class DemoEntity {

    @ExcelProperty(value = "编号", index = 0)
    private Integer no;

    @ExcelProperty(value = "姓名", index = 1)
    private String username;

    @ExcelProperty(value="是否删除", index = 2)
    private Boolean exists;

}
